#ifndef _CALIBRATION_H
#define _CALIBRATION_H

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

    extern void apRingSet(uint16_t ap_max, uint16_t ap_min,uint16_t ap_auto);
	extern void PosPhyGainSet(int16_t PosPhyGainP, int16_t PosPhyGainN);
	extern int16_t PosPIGet(void);
	extern int16_t PosPhyGainPGet(void);
	extern int16_t PosPhyGainNGet(void);
    extern int16_t ApRingMaxGet(void);
    extern int16_t ApRingMinGet(void);
    extern int16_t ApRingAutoGet(void);
    uint16_t* ApRingALLGet(void);
    uint16_t ApRingALLGetLen(void);
    void apRingAllSet(uint16_t *buf,uint16_t len);

#ifdef __cplusplus
}
#endif

#endif
